home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Financial / USDebtWatch / USDebtWatch.app / InfoPanel.nib (.txt) < prev    next >
NeXT TypedStream Data  |  1995-06-12  |  6KB  |  153 lines

  1. typedstream
  2. StreamTable
  3.     HashTable
  4. Object
  5. [20c]
  6. typedstream
  7. [948c]
  8. typedstream
  9.     HashTable
  10. Object
  11. Controller
  12. HeaderClass
  13. %%%%i@@
  14. genericobject_nib
  15. SCB89DebtString
  16.     infoPanel
  17. updateIntervalPrefSlider
  18. AJ92DebtString
  19. AJ92ShareString
  20. SCB89ShareString
  21. autoUpdatePref
  22. updateIntervalPrefField
  23.     prefPanel
  24. debtWindow
  25. appDidInit:
  26. showInfoPanel:
  27. setUpdateInterval:
  28. computeSCB89Debt:
  29. computeAJ92Debt:
  30. appWillTerminate:
  31. setWindowLocation:
  32. setAutoUpdate:
  33. FirstResponder
  34. firstnib
  35. checkSpelling:
  36. alignSelCenter:
  37.     unscript:
  38. pasteFont:
  39. runPageLayout:
  40. superscript:
  41. copyRuler:
  42.     copyFont:
  43. selectAll:
  44. pasteRuler:
  45. toggleRuler:
  46. showGuessPanel:
  47. alignSelLeft:
  48. paste:
  49. performClose:
  50. arrangeInFront:
  51. subscript:
  52. copy:
  53. alignSelRight:
  54. delete:
  55. orderFrontColorPanel:
  56. underline:
  57. performMiniaturize:
  58. [5346c]
  59. typedstream
  60.     HashTable
  61. Object
  62. NibData
  63. @@@@s
  64. Storage
  65. {*@@}
  66.     [10{*@@}]
  67. File's Owner
  68. CustomObject
  69. Controller
  70. WindowTemplate
  71. iiii***@s@
  72. Panel
  73.     Responder
  74.     Helvetica
  75.     TextField
  76. Control
  77. TextFieldCell
  78. ActionCell
  79. USDebtWatch
  80. Helvetica-BoldOblique
  81. by Erik Sowa
  82. Button
  83. ButtonCell
  84.     More Info
  85. NXImage
  86. FreeWare Version 0.3 (92.07.24)
  87. email: sowa@netcom.com
  88. Field1
  89. Field2
  90. Button1
  91. Field
  92. Field4
  93. Window
  94. ScrollView
  95. ClipView
  96. ciifffcfffs
  97. [3607c]{\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\fswiss Helvetica;}
  98. \margl40
  99. \margr40
  100. {\colortbl\red0\green0\blue0;}
  101. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b\i\ul0\fs48 USDebtWatch\
  102. \b0\i0\fs24 Freeware Version 0.3 (92.07.24)\
  103. \b\i\fs32 \
  104. Algorithm
  105. \b0\i0\fs24 \
  106. \fs28 USDebtWatch displays an estimate of the national debt of the United States of America. The estimate is updated at a regular interval specified by the user. The program was inspired by Jamie Zawinski's xdebt. I have used a more recent debt estimate 
  107. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 based on numbers from the 5 July 1992 Albuquerque Journal
  108. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600  (
  109. AJ '92
  110. ). It assumes a starting figure of $
  111. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 3
  112. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 ,
  113. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 965
  114. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 ,
  115. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 170
  116. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 ,
  117. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 506
  118. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 ,
  119. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 502.395
  120. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600  as of  June 30, 1992, with a linear rate of increase of $
  121. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 14132.887
  122. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600  per second. 
  123. \fc0 
  124. Your share
  125.  is calculated using t
  126. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 he 
  127. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 estimated 
  128. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 US Population, and its rate of increase, as of July 1, 1990
  129. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 ,
  130. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0  based on numbers from the CIA's World Factbook 1990
  131. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 . If you know of more recent and/or accurate algorithms, please send me email.\
  132. \b\i\fs32 Icon
  133. \b0\i0\fs24 \
  134. \fs28 The icon is intended to depict Lady Liberty being crushed by the burden of a heavy debt portfolio. I am not an artist; otherwise, I would have done a better job.\
  135. \b\i\fs32 NeXTSTEP Notes
  136. \b0\i0\fs48 \
  137. \fs28 Interface by Erik Sowa (sowa@netcom.com). USDebtWatch is an old FORTRAN hacker's first publicly
  138. released NeXTSTEP program! Preferences for updating are stored in the defaults database.\
  139. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 Version 0.2 Garance Alistair Drosehn (gad@eclipse.its.rpi.edu) added a preference option to save the location of the windows to the defaults database, so each user can have the windows appear right where they'd like them to.\
  140. Version 0.3 Erik Sowa (sowa@netcom.com). Replaced 1989 Survey of Current Business debt estimate with 1992 Albuquerque Journal estimate. The old estimate is still in the source code if you want to play with it. Added population estimate for 
  141. Your Share
  142.  calculation.
  143. NXCursor
  144. NXibeam
  145. Scroller
  146. _doScroller:
  147. @@@ffs
  148. ScrollingText
  149. {i*@@@}
  150. [2{i*@@@}]
  151.     infoPanel
  152. makeKeyAndOrderFront:
  153.